# Description: USB Aygıt Yardımcı Programları
# URL: http://downloads.sourceforge.net/linux-usb/
# Packager: milisarge
# Depends on: libusb-compat

name=usbutils
version=008
release=1

source=(http://www.kernel.org/pub/linux/utils/usb/usbutils/usbutils-$version.tar.xz)

build() {
cd $name-$version
sed -i '/^usbids/ s:usb.ids:hwdata/&:' lsusb.py
./configure --prefix=/usr \
--datadir=/usr/share/hwdata \
--disable-zlib \
--datadir=/usr/share/misc
mkdir -p $PKG/usr/share/hwdata
make
make DESTDIR=$PKG install
}
